package com.weiyuwqj.api.service;


import com.weiyuwqj.api.model.BasTicket;
import com.weiyuwqj.api.model.vo.BasTicketVo;
import com.weiyuwqj.api.base.BaseService;
import com.weiyuwqj.api.common.PageList;
import com.weiyuwqj.api.common.Paginator;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 2016/8/9.
 */
public interface BasTicketService extends BaseService<BasTicket> {

    PageList getList(Paginator p, Map map);

    List<BasTicketVo> getList(Map map);

    BasTicketVo getSingle(Integer ticketId);

    //前台投资根据金额对应能使用的加息券列表
    List<BasTicket> getListByUserId(Map map);

    PageList listTicketAndConf(Paginator p, Map map);

    int updateTicketTimerStatus(Map map);

}
